#include "../include/header.h"
int main(int argc, char* argv[]){
	ARGS_CHECK(argc, 1);
	int fd = open("pipe", O_RDONLY);
	ERROR_CHECK(fd, -1, "open");


	int buf[1024] = {0};
	read(fd, buf, sizeof buf);

	printf(buf);

	close(fd);
	return 0;
}